record value · System
ValueTuple<T1>
public record value ValueTuple<T1> : IToString, IHashable<ValueTuple<T1>>
1 item in a value: Item1, which can be changed.
- Kind
- record value
- Namespace
- System
- Assembly
- System.Core
- Access
- public, record
- Source file
Tuples.ant
Type parameters
| Name | Constraints |
|---|---|
T1 | any type |
Inheritance
- Interfaces
-
IToStringIHashable<TSelf>
Constructors
new(T1 Item1)
#
Methods
Fields
T1 Item1
#
Source
ValueTuple<T1> as Antril, decompiled from its Larva HIR.
// System.ValueTuple — System.Core (decompiled from Larva HIR)
into namespace System
{
/// 1 item in a value: Item1, which can be changed.
public record value ValueTuple<T1> : IToString, IHashable<ValueTuple<T1>>
{
public:
T1 Item1;
new(T1 Item1)
{
this.Item1 = Item1;
}
/// The same items in a Tuple (a class).
ToTuple() : Tuple<T1> => new Tuple<T1>(Item1);
}
}